package com.jkoss.wine.shop.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;


/**
 * 
 * 
 * @Author Jason
 * @Version 1.0, 2018-10-02
 * @See
 * @Since com.jkoss.wine.shop.entity
 * @Description: TODO
 */
@TableName("shop_employees")
public class ShopEmployees extends Model<ShopEmployees> {

    private static final long serialVersionUID = 1L;

    @TableId("employee_id")
    private String employeeId;
    /**
     * 所属店铺
     */
    @TableField("shop_id")
    private String shopId;
    @TableField("employee_name")
    private String employeeName;
    /**
     * 性别 0女1男
     */
    @TableField("employee_sex")
    private Integer employeeSex;
    /**
     * 手机号
     */
    @TableField("employee_phone")
    private String employeePhone;
    /**
     * 出生日期
     */
    @TableField("employee_birthday")
    private Date employeeBirthday;
    /**
     * 员工状态 0停用 1启用
     */
    @TableField("employee_state")
    private Integer employeeState;
    /**
     * 头像  如果没有系统有个默认头像
     */
    @TableField("employee_portrait")
    private String employeePortrait;
    /**
     * 添加时间
     */
    @TableField("add_time")
    private Date addTime;
    /**
     * 操作人
     */
    @TableField("operator")
    private String operator;
    /**
     * 是否删除
     */
    @TableField("del")
    private Integer del;
    /**
     * 角色ID
     */
    @TableField("shop_role_id")
    private String shopRoleId;


    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public Integer getEmployeeSex() {
        return employeeSex;
    }

    public void setEmployeeSex(Integer employeeSex) {
        this.employeeSex = employeeSex;
    }

    public String getEmployeePhone() {
        return employeePhone;
    }

    public void setEmployeePhone(String employeePhone) {
        this.employeePhone = employeePhone;
    }

    public Date getEmployeeBirthday() {
        return employeeBirthday;
    }

    public void setEmployeeBirthday(Date employeeBirthday) {
        this.employeeBirthday = employeeBirthday;
    }

    public Integer getEmployeeState() {
        return employeeState;
    }

    public void setEmployeeState(Integer employeeState) {
        this.employeeState = employeeState;
    }

    public String getEmployeePortrait() {
        return employeePortrait;
    }

    public void setEmployeePortrait(String employeePortrait) {
        this.employeePortrait = employeePortrait;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    public String getShopRoleId() {
        return shopRoleId;
    }

    public void setShopRoleId(String shopRoleId) {
        this.shopRoleId = shopRoleId;
    }

    @Override
    protected Serializable pkVal() {
        return this.employeeId;
    }

    @Override
    public String toString() {
        return "ShopEmployees{" +
        ", employeeId=" + employeeId +
        ", shopId=" + shopId +
        ", employeeName=" + employeeName +
        ", employeeSex=" + employeeSex +
        ", employeePhone=" + employeePhone +
        ", employeeBirthday=" + employeeBirthday +
        ", employeeState=" + employeeState +
        ", employeePortrait=" + employeePortrait +
        ", addTime=" + addTime +
        ", operator=" + operator +
        ", del=" + del +
        ", shopRoleId=" + shopRoleId +
        "}";
    }
}
